package com.vueblog.webapi.response;

import com.vueblog.webapi.entity.CommentEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lsj
 * @create 2021-05-31 0:29
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class CommentsInfoResponse {

    /**
     * 父评论
     */
    private CommentEntity parentComment;

    /**
     * 子评论集
     */
    private List<CommentEntity> chidrenComments;

}
